package com.web;

import org.demo.core.UserService;
import org.demo.model.User;
import org.demo.utils.ArrayTest;


/**
 * 调用其他模块的在web模块做测试用
 * @author jh
 *
 */
public class Test {
		public static void main(String[] args) {
			String name = "name";
			String realName = "realname";
			//这里是调用core模块
			UserService u = new UserService();
			//创建对象（创建的过程中调用model模块）并获取名字
			//u.createUser(name,realName);
			System.out.println(u.getUserName(u.createUser(name,realName)));
			//这里是调用utils模块
			ArrayTest.printArray(ArrayTest.createArray(5));
		}
}
